#include "currentampspectrumprivatedefine.h"

namespace DataSpecificationGW
{
    CurrentAmpExtInformationPrivate::CurrentAmpExtInformationPrivate()
    {
        ucAmpUnit = 6;
        bSkipAmpUnit = false;
        bHasAmpUnit = false;

        ucCurrentDataCount = 0;
        bSkipCurrentDataCount = false;
        bHasCurrentDataCount = false;
    }

    CurrentAmpExtInformationPrivate& CurrentAmpExtInformationPrivate::operator=(const CurrentAmpExtInformationPrivate& stCurrentAmpExtInformationPrivate)
    {
        this->ucAmpUnit = stCurrentAmpExtInformationPrivate.ucAmpUnit;
        this->ucCurrentDataCount = stCurrentAmpExtInformationPrivate.ucCurrentDataCount;
        return *this;
    }

    bool CurrentAmpExtInformationPrivate::operator==(const CurrentAmpExtInformationPrivate& stCurrentAmpExtInformationPrivate) const
    {
        if (!(this->ucAmpUnit == stCurrentAmpExtInformationPrivate.ucAmpUnit)) return false;
        if (!(this->ucCurrentDataCount == stCurrentAmpExtInformationPrivate.ucCurrentDataCount)) return false;
        return true;
    }


    CurrentAmpDataPrivate::CurrentAmpDataPrivate()
    {
        bSkipcurrentDatas = false;
        bHascurrentDatas = false;
    }

    CurrentAmpDataPrivate& CurrentAmpDataPrivate::operator=(const CurrentAmpDataPrivate& stCurrentAmpDataPrivate)
    {
        this->currentDatas = stCurrentAmpDataPrivate.currentDatas;
        return *this;
    }

    bool CurrentAmpDataPrivate::operator==(const CurrentAmpDataPrivate& stCurrentAmpDataPrivate) const
    {
        if (!(this->currentDatas == stCurrentAmpDataPrivate.currentDatas)) return false;
        return true;
    }
}
